from common.base import Base,By
class ByerCenterPage(Base):
    buyer_ceenter_my_order=(By.LINK_TEXT,'我的订单')
    buyer_ceenter_my_integral=(By.LINK_TEXT,'我的积分')
    buyer_ceenter_my_redpacket=(By.LINK_TEXT,'我的优惠券')
    def to_mt_order(self):
        self.click(ByerCenterPage.buyer_ceenter_my_order)
    def to_my_integral(self):
        self.click(ByerCenterPage.buyer_ceenter_my_integral)
    def to_my_redpacket(self):
        self.click(ByerCenterPage.buyer_ceenter_my_redpacket)

